package tk.kolesnikov.db;

public class DBSettings {

    private String dbName;
    private String driverName;
    private String url;
    private String login;
    private String password;

    public DBSettings(String dbName, String driverName, String url, String login, String password) {
        this.dbName = dbName;
        this.driverName = driverName;
        this.url = url;
        this.login = login;
        this.password = password;
    }

    @Override
    public String toString() {
        return "DBSettings{" +
                "dbName='" + dbName + '\'' +
                ", driverName='" + driverName + '\'' +
                ", url='" + url + '\'' +
                ", login='" + login + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public DBSettings() {

    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
